package com.lyc.service.impl;

import com.lyc.beans.Role;
import com.lyc.mapper.RoleMapper;
import com.lyc.service.RoleService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RoleServiceImpl implements RoleService {
    @Autowired
    private RoleMapper roleMapper;

    //添加角色
    @Override
    public void addRole(Role role) {
        roleMapper.addRole(role);
    }
}
